home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / MZK32.M3 < prev    next >
Text File  |  1996-04-01  |  4KB  |  138 lines

  1. name Mazak M32 ISO
  2.  
  3. % 00
  4. / 00
  5. O >4
  6. N >4
  7. G >2
  8. X ->34
  9. Y ->34
  10. Z ->34
  11. A ->34
  12. I ->34
  13. J ->34
  14. K ->34
  15. Q ->34
  16. R ->34
  17. F >44
  18. H >3
  19. D >3
  20. T >3
  21. M >2
  22. S >5
  23.  
  24. ModalLetters X Y Z F R                # List of letters that are modal    
  25.  
  26. ModalGs                               # List of g codes that are modal    
  27.  
  28. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  29. First#? N                             # Y or N  'Output 1st sequence no.  
  30. Last#? N                              # Y or N  'Output last sequence no. 
  31.  
  32. HCode X                               # X or X U  'Horizontal char.       
  33. VCode Y                               # Y or Y V  'Vertical char.         
  34. Dcode Z                               # Depth char.                       
  35. FeedCode F                            # Feed rate char.                   
  36.  
  37. Comment ( )                           # Begin End comment char.           
  38.  
  39. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  40. Coolant 8 9 7                         # On, Off & Mist m codes            
  41. DComp 41 42 40                        # Left, Right & Cancel m codes      
  42. LComp 43 49                           # On & Off codes                    
  43.  
  44. Feed G1                             # Linear move                       
  45. Rapid G0                            # Rapid positioning word            
  46. Cw G2                               # Circular move clockwise           
  47. Ccw G3                              # Circular move counter clockwise   
  48.  
  49. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  50.  
  51. CtrCode I J                           # I J or R or I J K L               
  52. Helical? Y
  53.  
  54. Spaces? Y                             # Y or N  'Spaces between words     
  55.  
  56. Incremental? N                        # Y or N  'Inc or abs output        
  57. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  58. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  59.  
  60. ZRestart? Y                           # Y or N  'New cycle if diff. depths
  61.  
  62. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  63.  
  64. Drill                                 # Drilling canned/manual cycle      
  65. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  66. end cancel
  67.  
  68. Peck                                  # Pecking canned/manual cycle       
  69. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  70. end cancel
  71.  
  72. Tap                                   # Tapping canned/manual cycle       
  73. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate] Q[VBite]
  74. end cancel
  75.  
  76. LTap                                  # Left handed tapping cycle         
  77. G74 X[H] Y[V] Z[D] R[Vclear] F[Frate] Q[VBite]
  78. end cancel
  79.  
  80. Ream                                  # Reaming canned/manual cycle       
  81. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  82. end cancel
  83.  
  84. Bore                                  # Boring canned/manual cycle        
  85. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  86. end cancel
  87.  
  88. Back                                  # Back boring canned/manual cycle   
  89. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  90. end cancel
  91.  
  92. Cancel                                # Cancel a canned/manual cycle      
  93. G80
  94. end
  95.  
  96. StartCode                             # Start of the program              
  97. %0
  98. O[Program#]
  99. G90 G80 G40 G17
  100. End
  101.  
  102. 1stToolChange                         # First tool change                 
  103. G28 Z0 T[Tool] M6
  104. M[Direct] S[Speed]
  105. G90 G0 G[Work] X[H] Y[V]
  106. G43 Z[D] H[Lcomp]
  107. M[Cool]
  108. End
  109.  
  110. Infeed                                # Enable cutter comp                
  111. G[Side] X[H] Y[V] D[DComp] F[FRate]
  112. end
  113.  
  114. Outfeed                               # Disable cutter comp               
  115. G1 G40 X[H] Y[V]
  116. end
  117.  
  118. ToolChange                            # Secondary tool changes            
  119. M9
  120. G0 G28 Z0
  121. M1
  122. T[Tool] M6
  123. M[Direct] S[Speed]
  124. G90 G0 G[WORK] X[H] Y[V]
  125. G43 Z[D] H[Lcomp]
  126. M[Cool]
  127. End
  128.  
  129. EndCode                               # End of the program                
  130. M9
  131. G0 G28 Z0
  132. M6 T[Tool1]
  133. G90 G0 X0 Y0
  134. M02
  135. %0
  136. End
  137.  
  138.